<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/8/25
  Time: 15:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>

</style>
<div class="zl-header">
    <div class="zl-hd w1200">
        <p class="hd-p1 f-l">
            Hi!您好，欢迎${sessionScope.user.username}来到宅客微购
            <c:if var="username" test="${sessionScope.user.username.equals('') || sessionScope.user.username != null}">
                <a href="${basePath}login?method=logOut">，退出</a>

            </c:if>
            <c:if test="${!username}">
                ，请  <a href="${basePath}login?method=toLoginPage">【登录】</a>
            </c:if>
        </p>
        <p class="hd-p2 f-r">
            <a href="${basePath}index?method=toIndex">返回首页 (个人中心)</a><span>|</span>
            <a href="${basePath}index?method=toShoppCart">我的购物车</a><span>|</span>
            <a href="${basePath}index?method=toOrder">我的订单</a>
        </p>
        <div style="clear:both;"></div>
    </div>
</div>

<!--logo search weweima-->
<div class="logo-search w1200">
    <div class="logo-box f-l">
        <div class="logo f-l">
            <a href="${basePath}index?method=toIndex" title="中林logo"><img src="static/images/zl2-01.gif" /></a>
        </div>
        <div style="clear:both;"></div>
    </div>
    <div class="erweima f-r">
        <a href="JavaScript:;">
        </a>
    </div>
    <div class="search f-r">
        <form method="post" action="${basePath}index?method=queryComm">
            <div class="search-info">
                <input type="text" name="search-name" placeholder="请输入商品名称" />
                <button>搜索</button>
                <div style="clear:both;"></div>
            </div>
        </form>
        <ul class="search-ul">
            <li><a href="JavaScript:;">绿豆</a></li>
            <li><a href="JavaScript:;">大米</a></li>
            <li><a href="JavaScript:;">驱蚊</a></li>
            <li><a href="JavaScript:;">洗面奶</a></li>
            <li><a href="JavaScript:;">格力空调</a></li>
            <li><a href="JavaScript:;">洗发</a></li>
            <div style="clear:both;"></div>
        </ul>
    </div>
    <div style="clear:both;"></div>
</div>

<!--nav-->
<div class="nav-box">
    <div class="nav-kuai w1200">
        <ul class="nav-font f-l" style="float: right">
            <li><a href="${basePath}index?method=toOnlineShopping">在线商城</a></li>
            <li><a href="${basePath}commodityDp?method=toCanyinyule">餐饮娱乐</a></li>
            <li><a href="${basePath}commodityDp?method=toErshoushichang">交通工具</a></li>
            <div style="clear:both;"></div></ul>
        <div class="nav-kuaijie yjp-hover1 f-l">
            <a href="JavaScript:;" class="kj-tit1">商品分类快捷</a>
            <div class="kuaijie-box yjp-show1">
                <div class="kuaijie-info">
                    <dl class="kj-dl1">
                        <dt><img src="static/images/zl2-07.gif" /><a href="${basePath}index?method=toFoodPage">食品/饮料/酒水</a></dt>
                        <dd>
                            <a href="${basePath}index?method=toFoodPage">饼干糕点</a><span>|</span>
                            <a href="${basePath}index?method=toFoodPage">冲调保健</a><span>|</span>
                            <a href="${basePath}index?method=toFoodPage">酒水</a>
                        </dd>
                    </dl>
                </div>
                <div class="kuaijie-info">
                    <dl class="kj-dl1">
                        <dt><img src="static/images/zl2-08.gif" /><a href="${basePath}index?method=toLiangyoufushi">粮油副食</a></dt>
                        <dd>
                            <a href="${basePath}index?method=toLiangyoufushi">厨房调味</a><span>|</span>
                            <a href="${basePath}index?method=toLiangyoufushi">大米/面粉</a><span>|</span>
                            <a href="${basePath}index?method=toLiangyoufushi">方便速食</a>
                        </dd>
                    </dl>
                </div>
                <div class="kuaijie-info">
                    <dl class="kj-dl1">
                        <dt><img src="static/images/zl2-10.gif" /><a href="${basePath}index?method=toCosmeticsPage">美妆洗护/个人护理</a></dt>
                        <dd>
                            <a href="${basePath}index?method=toCosmeticsPage">洗浴用品/身体护理</a><span>|</span>
                            <a href="${basePath}index?method=toCosmeticsPage">洗发护发</a>
                        </dd>
                    </dl>
                </div>
                <div class="kuaijie-info">
                    <dl class="kj-dl1">
                        <dt><img src="static/images/zl2-12.gif" /><a href="${basePath}index?method=toErshoushichang">二手市场</a></dt>
                        <dd>
                            <a href="${basePath}index?method=toErshoushichang">手机</a><span>|</span>
                            <a href="${basePath}index?method=toErshoushichang">鼠标/键盘</a><span>|</span>
                            <a href="${basePath}index?method=toErshoushichang">头戴式耳机</a>
                        </dd>
                    </dl>
                </div>
            </div>

            <div style="clear:both;"></div>
        </div>
    </div>
</div>